package com.whatever;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class PagesActivity extends Activity implements OnClickListener {
    
	public Context cxt = this;
	int[] buttonMap = {
		R.id.button0
    };
	
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button button = (Button)findViewById(R.id.button0);
        button.setOnClickListener(this);
    }

	public void onClick(View arg0) {
		Intent intent = new Intent(cxt, titleActivity.class);
		intent.putExtra("Name", "Value");
		cxt.startActivity(intent);
	}
}